package com.taotao.service;

import com.taotao.common.pojo.EasyUITreeNode;
import com.taotao.common.pojo.TaotaoResult;

import java.util.List;

public interface ContentCategoryService {
	List<EasyUITreeNode> getContentCategoryList(long parentId);

	TaotaoResult insertCategory(long parentId, String name);

	TaotaoResult updateCategory(long id, String name);

	TaotaoResult deleteCategory(long id);
}
